package com.haiyisoft.eclipse.uep.visual.ui.editor;

import java.util.ArrayList;
import java.util.List;

public class FileInfo {

	private String fileName;
	private String authro;
	private String date;
	private String description;
	private List<FileChangeLog> logs;
	
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getAuthro() {
		return authro;
	}
	public void setAuthro(String authro) {
		this.authro = authro;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public List<FileChangeLog> getLogs() {
		return logs;
	}
	public void setLogs(List<FileChangeLog> logs) {
		this.logs = logs;
	}
	
	public void addLog(FileChangeLog log){
		if(this.logs==null){
			logs=new ArrayList<FileChangeLog>();
		}
		logs.add(log);
	}
	
	
}
